package edu.asu.sapa.sas;

public class Prevail extends Condition {
	public static int numPrevails = 0;
	protected SASOperator op;
	protected int id;
	
	public Prevail(Condition c) {
		super(c.getVariable(), c.getValueID());
		id = numPrevails++;

	}
	
	public Prevail(Variable variable, int value) {
		super(variable, value);
		id = numPrevails++;
	}

	public void setOperator(SASOperator o) {
		op = o;
	}
	
	public SASOperator getOperator() {
		return op;
	}

	public int getID() {
		return id;
	}
}
